package org.zero.service.impl;

import org.springframework.stereotype.Service;
import org.zero.model.Account;
import org.zero.service.AccountService;

/**
 * @author Zero
 */
@Service("accountService")
public class AccountServiceImpl implements AccountService {
    @Override
    public void saveAccount() {
        System.out.println("保存了空账户");
    }

    @Override
    public void saveAccount(int id) {
        System.out.println("保存了id为" + id + "的账户");
    }

    @Override
    public void saveAccount(Account account) {
        System.out.println("保存了账户" + account);
    }
}
